/*头部*/

header {
  height: 51px;
  width: 100%;
  background-color: #ff841d;
  position: relative;
  .logo {
    display: inline-block;
    margin-top: 12px;
    margin-left: 12px;
    img {
      max-width: 185px;
    }
  }
  .app {
    position: absolute;
    top: 7px;
    right: 7px; // float: right;
    width: 34px;
    height: 34px; // margin-top: 7px;
    // margin-right: 7px;
    img {
      width: 100%;
    }
  }
}

@media (max-width:280px) {
  header .app {
    display: none;
  }
}

/*搜索框*/

.search {
  // width: 100%;
  height: 51px;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  position: relative;
  input {
    width: 100%;
    border-radius: 20px;
    height: 30px;
    background-color: #f1f1f1;
    font-size: 16px;
    padding-left: 20px;
  }
  a {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 63px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ff841d;
    color: #fff;
    border-radius: 20px;
  }
}

/*分类*/
.brief {
  padding: 5px 5px 0 ;
  background-color: #f2f2f2;
  .brief-box{
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    > a {
      display: block;
      height: 41px;
      background-color: #ebebeb;
      line-height: 41px;
      padding-left: 15px;
      color: #000;
      font-weight: 700;
      letter-spacing: 2px;
      border-bottom: 1px solid #ccc;
      span {
        margin-top: 5px;
        font-size: 30px;
        color: #999;
        margin-right: 15px;
      }
      .up {
        display: none;
      }
     
    }
    .content {
      display: flex;
      flex-wrap: wrap;
      a {
        width: 33.333%;
        height: 40px;
        background-color: #fff;
        text-align: center;
        line-height: 40px;
        font-size: 14px;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        box-sizing: border-box;
      }
      a:nth-child(3n){
        border-right: none;
      }
    }
  }
}

/*底部*/
footer {
  padding-top: 30px;
  background-color: #f2f2f2;
  .link {
    display: flex;
    height: 34px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    a{
      flex: 2.5;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 14px;
      img {
        width: 15px;
        height: 15px;
        margin-right: 5px;
      }
    }
    a:last-child {
      flex: 5;
    }
    a:nth-child(2){
      border-left: 1px solid #ccc;
      border-right: 1px solid #ccc;
    }
  }
  .info {
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    a {
      span {
        color: red;
      }
    }
  }
}

/*广告*/
.ad {
  width: 100%;
  height: 60px;
  background-color: #fff;
  padding:10px;
  position: fixed;
  bottom: 0;
  left: 0;
  span {
    width: 21px;
    height: 21px;
    background-color: #c8c8da;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 21px;
    margin-top: 10px;
    margin-right: 15px;
  }
  img {
    float: left;
    width: 41px;  
    height: 41px;
    margin-right: 10px;
  }
  p:first-of-type {
    color: #888;
  }
  p:last-of-type {
    font-size: 14px;
    color: #999;
  }
  a{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    background-color: #ff7700;
    width: 80px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 3px;
    font-size: 15px;
  }
}